package com.xbk.seckill.order.application.model.command;

import lombok.Data;

import java.io.Serializable;

/**
 * 订单DTO
 *
 * @author xiexu
 * @date 2025/02/06 17:21
 */
@Data
public class SeckillOrderCommand implements Serializable {

    private static final long serialVersionUID = 2150071992328498340L;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 活动id
     */
    private Long activityId;

    /**
     * 商品版本号
     */
    private Long version;

    /**
     * 订单任务id
     */
    private String orderTaskId = "";
}
